const thunk = store => {
  return function(next){
    return function(action) {
      console.log('thunk', store)
      next(action)
    }
  }
}